//
//  CourseSegmentedControl.h
//  ShowYork
//
//  Created by hxh on 2020/9/15.
//  Copyright © 2020 hxh. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface LessonSegmentedControl : UIView
- (instancetype)initWithSourceTitles:(NSArray<NSString *>*)titles completeBlock:(void(^)(NSInteger index))completeBlock;
- (void)showInView:(UIView *)view;

@property (nonatomic,assign)NSInteger currentIndex;

@end

NS_ASSUME_NONNULL_END
